Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add placement error code #91

Merged
merged 1 commit into from
Apr 2, 2024

Conversation

fowlerlee
Copy link
Contributor

Description

Add a prefix error code to the kit to be used in the error handling of the placement api. The error code will be used in the .WithErrorInfo() function to provide detailed information for the placement error api. This PR is related to Error Standardization: Placement API #7490.

Issue reference

This PR will close issue : Add Placement error code #90

Checklist

Please make sure you've completed the relevant tasks for this PR, out of the following list:

  • [x ] Code compiles correctly
  • [x ] Created/updated tests

Signed-off-by: Lee Fowler <[email protected]>
@fowlerlee fowlerlee requested review from a team as code owners March 15, 2024 07:39
@artursouza artursouza self-assigned this Mar 22, 2024
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.86%. Comparing base (e33fbab) to head (22b330e).

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #91      +/-   ##
==========================================
- Coverage   79.93%   79.86%   -0.07%     
==========================================
  Files          56       56              
  Lines        4351     4351              
==========================================
- Hits         3478     3475       -3     
- Misses        728      730       +2     
- Partials      145      146       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@fowlerlee
Copy link
Contributor Author

Thank you for the review @artursouza . I was wondering when I can expect to get this PR merged so I can use the Error code in the updated Placement API error handling? At the minute I have made a local const placeholder, but can't merge this into the Dapr repo. Thanks again

@yaron2 yaron2 merged commit 0c7cfce into dapr:main Apr 2, 2024
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants